﻿#pragma strict



function OnMouseDown () 
{
	GameObject.Destroy(this.transform.parent.gameObject);
	Time.timeScale=1;
	boucherFissure.perdu=false;
	boucherFissure.fin=false;
		
}

function Update()
{
	if (Input.GetKeyDown(KeyCode.Escape)) 
	{ 
		GameObject.Destroy(this.transform.parent.gameObject);
		Time.timeScale=1;
		boucherFissure.perdu=false;
		boucherFissure.fin=false;

	}
}